package com.jcb.showcase.view;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.jcb.showcase.R;
import com.jcb.showcase.TestActivity;

public class ScrollingViewChoice 
extends LinearLayout
{
	final TestActivity mainActivity ;
	Paint paint = new Paint();
	TextView tv ;
	

	
	public ScrollingViewChoice(Context context, final TestActivity mainActivity) {
		super(context);
		this.mainActivity = mainActivity ;
		LayoutInflater layoutInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		layoutInflater.inflate(R.layout.scrollview,this);
		Drawable d = getResources().getDrawable(R.drawable.gradient);	
		this.setBackground(d);
		
	}


	
}


